﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="ABMInsumos.aspx.cs" Inherits="TecnoPezWeb.Modules.Compras.ABMInsumos" Title="Untitled Page" %>

<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" Runat="Server">
    <asp:ScriptManager ID="ScriptManagerEnfermedades" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanelEnfermedades" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
<asp:Wizard id="wzrABM" runat="server" ActiveStepIndex="1" BorderColor="#B5C7DE" BorderWidth="0px" Font-Names="Verdana" Font-Size="0.8em" DisplaySideBar="False">
<StepStyle ForeColor="#333333" Font-Size="0.8em" VerticalAlign="Top"></StepStyle>

<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top"></SideBarStyle>

<NavigationButtonStyle BackColor="White" BorderStyle="Solid" ForeColor="#284E98" BorderWidth="1px" BorderColor="#507CD1" Font-Size="0.8em" Font-Names="Verdana"></NavigationButtonStyle>
<WizardSteps>
<asp:WizardStep runat="server" ID="wzrBusqueda" Title="Busqueda" StepType="Complete"><TABLE style="WIDTH: 100%" id="TableData" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Buscar Insumos</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Descripci&#243;n" Width="200px" ID="lblBuscarDescripcion"></asp:Label>
 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarDescripcion"></asp:TextBox>
 </TD><TD vAlign=top rowSpan=1><asp:Button runat="server" ID="cmdBuscar" Width="102px" CssClass="Boton" Text="Buscar" Height="23px" BorderStyle="None"></asp:Button>
 <asp:Button runat="server" ID="cmdNuevo" Width="102px" CssClass="Boton" Text="Nuevo" Height="23px" OnClick="cmdNuevo_Click"></asp:Button>
 </TD></TR><TR><TD colSpan=3><BR /><BR /><uc2:TecnopezDataGRIDABMView runat="server" ID="grdInsumos"></uc2:TecnopezDataGRIDABMView>
 </TD></TR></TBODY></TABLE></asp:WizardStep>
<asp:WizardStep runat="server" ID="wzrEdicion" Title="Edicion" StepType="Complete"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos del insumo</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 26px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="Label1"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtID"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 7px" vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdEditar" Width="102px" CssClass="Boton" Text="Editar" Height="23px" CausesValidation="False" OnClick="cmdEditar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdEliminar" Width="102px" CssClass="Boton" Text="Eliminar" Height="23px" CausesValidation="False" OnClick="cmdEliminar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Descripci&#243;n" Width="200px" ID="Label2"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtDescripcion"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp;</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 48px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Tipo de insumo" Width="200px" ID="Label3"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 48px" class="columnaData" vAlign=top><uc3:TecnoPezPopUp runat="server" ID="TPPTipoInsumo"></uc3:TecnoPezPopUp>
 </TD><TD style="WIDTH: 1px; HEIGHT: 48px" class="columnaData" vAlign=top>&nbsp;</TD><TD style="WIDTH: 7px; HEIGHT: 48px" vAlign=bottom><asp:Button runat="server" ID="cmdAceptar" Width="102px" CssClass="Boton" Text="Aceptar" Height="23px" OnClick="cmdAceptar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdCancelar" Width="102px" CssClass="Boton" Text="Cancelar" Height="23px" CausesValidation="False" OnClick="cmdCancelar_Click"></asp:Button>
 </TD></TR>
    <tr>
        <td class="columnaLabels" style="width: 200px; height: 48px" valign="top">
            Unidad de Medida:</td>
        <td class="columnaData" style="width: 205px; height: 48px" valign="top">
            <uc3:TecnoPezPopUp ID="popUnidadDeMedida" runat="server" />
        </td>
        <td class="columnaData" style="width: 1px; height: 48px" valign="top">
        </td>
        <td style="width: 7px; height: 48px" valign="bottom">
        </td>
    </tr>
    <TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2>&nbsp;<asp:Label runat="server" CssClass="errorLabel" ID="_lblError"></asp:Label>
 <BR /><cc1:PropertyProxyValidator runat="server" ID="PPVDescripcion" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName=""></cc1:PropertyProxyValidator>
 <BR /><cc1:PropertyProxyValidator runat="server" ID="PPVTipoInsumo" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" OnValueConvert="PPVTipoInsumo_ValueConvert"></cc1:PropertyProxyValidator>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2>&nbsp; </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR></TBODY></TABLE></asp:WizardStep>
</WizardSteps>

<SideBarButtonStyle BackColor="#507CD1" ForeColor="White" Font-Names="Verdana"></SideBarButtonStyle>

<HeaderStyle BackColor="#284E98" BorderStyle="Solid" ForeColor="White" BorderWidth="2px" BorderColor="#EFF3FB" HorizontalAlign="Center" Font-Size="0.9em" Font-Bold="True"></HeaderStyle>
</asp:Wizard> 
</ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
</asp:Content>